Optimal. Leaf size=157 \[ \frac {x (g x)^m \left (a+c x^2\right )^p \left (1+\frac {c x^2}{a}\right )^{-p} F_1\left (\frac {1+m}{2};-p,1;\frac {3+m}{2};-\frac {c x^2}{a},\frac {e^2 x^2}{d^2}\right )}{d (1+m)}-\frac {e x^2 (g x)^m \left (a+c x^2\right )^p \left (1+\frac {c x^2}{a}\right )^{-p} F_1\left (\frac {2+m}{2};-p,1;\frac {4+m}{2};-\frac {c x^2}{a},\frac {e^2 x^2}{d^2}\right )}{d^2 (2+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 157, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {973, 525, 524}
\begin {gather*} \frac {x (g x)^m \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} F_1\left (\frac {m+1}{2};-p,1;\frac {m+3}{2};-\frac {c x^2}{a},\frac {e^2 x^2}{d^2}\right )}{d (m+1)}-\frac {e x^2 (g x)^m \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} F_1\left (\frac {m+2}{2};-p,1;\frac {m+4}{2};-\frac {c x^2}{a},\frac {e^2 x^2}{d^2}\right )}{d^2 (m+2)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 524
Rule 525
Rule 973
Rubi steps
\begin {align*} \int \frac {(g x)^m \left (a+c x^2\right )^p}{d+e x} \, dx &=\left (d x^{-m} (g x)^m\right ) \int \frac {x^m \left (a+c x^2\right )^p}{d^2-e^2 x^2} \, dx-\left (e x^{-m} (g x)^m\right ) \int \frac {x^{1+m} \left (a+c x^2\right )^p}{d^2-e^2 x^2} \, dx\\ &=\left (d x^{-m} (g x)^m \left (a+c x^2\right )^p \left (1+\frac {c x^2}{a}\right )^{-p}\right ) \int \frac {x^m \left (1+\frac {c x^2}{a}\right )^p}{d^2-e^2 x^2} \, dx-\left (e x^{-m} (g x)^m \left (a+c x^2\right )^p \left (1+\frac {c x^2}{a}\right )^{-p}\right ) \int \frac {x^{1+m} \left (1+\frac {c x^2}{a}\right )^p}{d^2-e^2 x^2} \, dx\\ &=\frac {x (g x)^m \left (a+c x^2\right )^p \left (1+\frac {c x^2}{a}\right )^{-p} F_1\left (\frac {1+m}{2};-p,1;\frac {3+m}{2};-\frac {c x^2}{a},\frac {e^2 x^2}{d^2}\right )}{d (1+m)}-\frac {e x^2 (g x)^m \left (a+c x^2\right )^p \left (1+\frac {c x^2}{a}\right )^{-p} F_1\left (\frac {2+m}{2};-p,1;\frac {4+m}{2};-\frac {c x^2}{a},\frac {e^2 x^2}{d^2}\right )}{d^2 (2+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 0.11, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(g x)^m \left (a+c x^2\right )^p}{d+e x} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (g x \right )^{m} \left (c \,x^{2}+a \right )^{p}}{e x +d}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (g\,x\right )}^m\,{\left (c\,x^2+a\right )}^p}{d+e\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________